package down.xiaoheihe.work.Entity;

public class TProduct {
    private Integer id;

    private String title;

    private String description;

    private Long price;

    private Integer guarentee;

    private Integer status;

    private Integer createrId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }

    public Integer getGuarentee() {
        return guarentee;
    }

    public void setGuarentee(Integer guarentee) {
        this.guarentee = guarentee;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getCreaterId() {
        return createrId;
    }

    public void setCreaterId(Integer createrId) {
        this.createrId = createrId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", title=").append(title);
        sb.append(", description=").append(description);
        sb.append(", price=").append(price);
        sb.append(", guarentee=").append(guarentee);
        sb.append(", status=").append(status);
        sb.append(", createrId=").append(createrId);
        sb.append("]");
        return sb.toString();
    }
}